import Vue from 'vue'
import App from './App'
import router from './router'

// 引入vant标签
import { Tabbar, TabbarItem, Col, Row, NavBar, Panel, Divider, Swipe, SwipeItem, Icon, Image, Sticky, Card, Tag, Skeleton } from 'vant'
import 'vant/lib/Tabbar/style'
import 'vant/lib/Tabbar-item/style'
import 'vant/lib/Col/style'
import 'vant/lib/Row/style'
import 'vant/lib/nav-bar/style'
import 'vant/lib/Panel/style'
import 'vant/lib/Divider/style'
import 'vant/lib/Swipe/style'
import 'vant/lib/Swipe-item/style'
import 'vant/lib/Icon/index'
import 'vant/lib/image/style'
import 'vant/lib/Sticky/style'
import 'vant/lib/Card/style'
import 'vant/lib/tag/style'
import 'vant/lib/Skeleton/style'

Vue.use(Tabbar)
Vue.use(TabbarItem)
Vue.use(Col)
Vue.use(Row)
Vue.use(NavBar)
Vue.use(Panel)
Vue.use(Divider)
Vue.use(Swipe)
Vue.use(SwipeItem)
Vue.use(Icon)
Vue.use(Image)
Vue.use(Sticky)
Vue.use(Card)
Vue.use(Tag)
Vue.use(Skeleton)

Vue.config.productionTip = false
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
